package com.azdebugit.trancation.test.enu;

/**
 * @Author: itdebug
 * @Email: itdebug.fp@cosmos.com
 * @version:: design_pattern_and_otherutils
 * @description:
 * @create: 2021/12/18 22:44.
 */
public enum StatusEnum {
    StatusEnum_INIT("0","初始化"),
    StatusEnum_SUCCESS("01","成功"),
    StatusEnum_FAIL("02","失败"),
    ;

    StatusEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public static StatusEnum getStatusEnumByCode(String k) {
        return null;
    }

    public String getMsg() {
        return msg;
    }

    public String getCode() {
        return code;
    }

    public final String code;

    public final String msg;
}
